//
//  ViewModelType.swift
//  App_Common
//
//  Created by 蒋晨成 on 2022/1/6.
//

import Foundation

public enum HandleState {
    case doing
    case success
    case failure(message: String)
}

public protocol ViewModelType {
    associatedtype Input
    associatedtype Output

    func transform(input: Input) -> Output
}
